<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>用户添加</h2>
<form th:action="@{/user}" method="post">
    用户名：<input type="uname" name="uname">
    密码：<input type="password" name="upwd">
    <input type="submit" th:value="添加">
</form>
</body>
</html>